package com.shitou.test.service;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.shitou.pojo.News;
import com.shitou.pojo.User;
import com.shitou.service.NewsService;
import com.shitou.service.UserService;
import com.shitou.util.DateUtil;
import com.shitou.util.NewsUtil;

import junit.framework.TestCase;

public class NewsServiceTestCase extends TestCase {
	private ApplicationContext ctx;
	private NewsService newsService;
	
	@Override
	protected void setUp() throws Exception {
		ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
		newsService = (NewsService) ctx.getBean("newsService");
	}
	


}
